package command

import (
	"bytes"
)

type Help struct{
	dataStruct
}
var desc = map[string]string{
	"/fh": "搜索相关信息",
	"/qp": "清屏处理",
	"/cron": "查看定时任务",
	"/stop": "暂停任务",
	"/start": "开始任务",
	"/dash": "统计",
}

func (h *Help) Read(...string){

}
func (h *Help) Update(...string){

}
func (h *Help) Reply() string{
	defer Info("help Reply.")
	var s bytes.Buffer
	for k, v := range desc {
		s.Write([]byte(k))
		s.Write([]byte(v))
		s.Write([]byte("\n"))
	}
	return s.String()
}

